package com.my.zl.console.service.autocode;

import com.my.zl.common.dto.ReqDTO;
import com.my.zl.common.dto.advancedQuery.PageQueryDTO;
import com.my.zl.console.entity.autocode.ZlValidation;
import com.my.zl.console.dto.autocode.validation.ReqValidationAddDTO;
import com.my.zl.console.dto.autocode.validation.ReqValidationDelDTO;
import com.my.zl.console.dto.autocode.validation.ReqValidationEditDTO;
import com.my.zl.console.dto.autocode.validation.ReqValidationQueryDTO;
import com.my.zl.console.dto.autocode.validation.ReqValidationDetailDTO;
import com.my.zl.console.dto.autocode.validation.ReqValidationStateDTO;
import com.my.zl.console.dto.autocode.validation.ResValidationAddDTO;
import com.my.zl.console.dto.autocode.validation.ResValidationDelDTO;
import com.my.zl.console.dto.autocode.validation.ResValidationEditDTO;
import com.my.zl.console.dto.autocode.validation.ResValidationQueryDTO;
import com.my.zl.console.dto.autocode.validation.ResValidationDetailDTO;
import com.my.zl.console.dto.autocode.validation.ResValidationStateDTO;

/**
 * 校验规则
 * @author ZL
 */
public interface IValidationService {

    /**
     * 查询
     */
    ResValidationQueryDTO queryValidationList(ReqValidationQueryDTO reqInfo,PageQueryDTO page) throws Exception;
    
    /**
     * 详情
     */
    ResValidationDetailDTO queryValidationDetail(ReqValidationDetailDTO reqInfo) throws Exception;
    
    /**
     * 新增
     */
    ResValidationAddDTO insertValidationInfo(ReqDTO<ReqValidationAddDTO> reqInfo) throws Exception;
    
    /**
     * 编辑
     */
    ResValidationEditDTO updateValidationInfo(ReqDTO<ReqValidationEditDTO> reqInfo) throws Exception;
    
    /**
     * 删除
     */
    ResValidationDelDTO deleteValidationInfo(ReqDTO<ReqValidationDelDTO> reqInfo) throws Exception;
    
    /**
     * 更新状态
     */
    ResValidationStateDTO updateValidationState(ReqDTO<ReqValidationStateDTO> reqInfo) throws Exception;
    
    
}